package cool.tenyears.service;

import cn.hutool.core.lang.tree.Tree;
import cool.tenyears.domain.Menu;

import java.util.List;

/**
 * @author tenyears
 * @date 2021/6/29 12:34
 */
public interface MenuService {
    /**
     * 查询菜单树
     * @param menu 菜单
     * @return tree
     */
    List<Tree<String>> treeMenu(Menu menu);
}
